import QtQuick 2.12
import QtQuick.Window 2.12
import QtQuick.Controls 2.5
import toxdesk.VideoSurface 1.0

Window {
    id: toxmainwindow
    width: 1366
    height: 768
    visible: true
    title:"toxmainwindow"
    property int  fid:-1
    VideoSurface
    {
        id: ximageView
        width: parent.width
        height: parent.height
    }
    Component.onCompleted: {
            console.info("toxmainwindow onCompleted")
            ximageView.setSource(toxmainwindow.fid)
        }

}
